package com.aiti.lulian.entity;

import com.aiti.base.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("card_rich_text_extension")
public class CardRichTextExtension extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "base_id", type = IdType.ASSIGN_UUID)
    private String baseId;

    /**
     * 具体内容
     */
    @TableField("content")
    private String content;

    /**
     * 类型：'1'：超链接，'2'：图片附件
     */
    @TableField("type")
    private String type;

    /**
     * 企业ID
     **/
    @TableField("enterprise_id")
    private String enterpriseId;

    /**
     * 创建时间
     **/
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;
}